package com.itheima.common;

public class InheritanceTemp {
    public static void main(String[] args) {
        Teacher teacher = new Teacher();
        teacher.setName("star");
        teacher.setSex("男");
        teacher.setSkill("java");
        System.out.println(teacher.getName() + " " + teacher.getSex() + " " + teacher.getSkill());
    }

}
